package com.example.cacheservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.CachingConfigurer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.interceptor.CacheInterceptor;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author wuxinxin
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.example.cacheservice.dao"})
@EnableCaching
/**
 * @see org.springframework.context.annotation.AutoProxyRegistrar
 * @see org.springframework.cache.annotation.ProxyCachingConfiguration
 * @see org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxyCreator
 */
public class CacheServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(CacheServiceApplication.class, args);
	}

}
